html,
body {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* 头部 */
#header {
    width: 7.1rem;
    height: 0.84rem;
    display: flex;
    line-height: 0.84rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    overflow: hidden;
}

#header span:nth-of-type(1) {
    color: #989898;
    font-size: 0.4rem;
    margin-right: 0.23rem;
}

#header input {
    margin-top: 0.11rem;
    height: 0.62rem;
    flex: 1;
    border: 0.01rem solid #efefef;
    border-bottom: 0.02rem solid #efefef;
    color: #989898;
    font-size: 0.24rem;
    border-radius: 0.1rem;
    background: url(../img/1.jpg) no-repeat 0.1rem center;
}

#header span:nth-of-type(2) {
    color: #989898;
    font-size: 0.35rem;
    margin-left: 0.26rem;
}

/* 主体部分 */

#main {
    width: 7.5rem;
    flex: 1;
    overflow-y: auto;
}

/* 导航 */
#main .nav {
    width: 7.5rem;
    height: 0.55rem;
}

#main .nav ul {
    width: 7.5rem;
    height: 0.55rem;
    display: flex;
    font-size: 0.22rem;
    justify-content: space-around;
}

#main .nav ul li {
    height: 0.55rem;
    line-height: 0.55rem;
}

#main .nav ul li:last-child {
    margin-top: -0.23rem;
}

#main .nav ul li:nth-of-type(1) a {
    color: #f86f43;
}

#main .nav ul li:nth-of-type(1),
#main .nav ul li:hover {
    background: url(../img/3.jpg) no-repeat 0rem bottom;
}

/* 轮播 */
#main .banner {
    height: 3.75rem;
    width: 7.5rem;
}

#main .banner img {
    height: 3.75rem;
    width: 7.5rem;
}

/* 分类 */
#main .classify {
    width: 7.5rem;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: space-around;
    border-bottom: 0.01rem solid #efefef;
}

#main .classify div {
    width: 20%;
    height: 1.3rem;
    display: flex;
    padding-top: 0.3rem;
    flex-direction: column;
}

#main .classify div img {
    width: 0.65rem;
    height: 0.58rem;
    margin: 0 auto;
    margin-bottom: 0.2rem;
}

#main .classify div:nth-of-type(2) img {
    width: 0.85rem;
    margin-left: 0.55rem;
}

/* 商城早报标题 */
#main .earlyPaperTitle {
    width: 7.5rem;
    height: 0.75rem;
    display: flex;
    border-top: 0.01rem solid #e7e7e7;
    text-align: center;
    overflow: hidden;
    margin-bottom: 10px;
}

#main .earlyPaperTitle img {
    margin-top: 0.22rem;
    width: 1.05rem;
    height: 0.28rem;
    padding: 0.1rem 0.2rem;
    border-right: 0.01rem solid #c6c6c8;
}

#main .earlyPaperTitle a {
    font-size: 0.22rem;
    padding-left: 0.16rem;
    line-height: 0.75rem;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
    border-left: 0.01rem solid #efefef;
}

/* 商城早报内容 */
#main .earlyPaperContent {
    width: 7.5rem;
    background: #f7f7f7;
    padding-top: 0.1389rem;
    display: flex;
    padding-bottom: 0.1736rem;
}

#main .earlyPaperContent .left {
    width: 3.7222rem;
    height: 5.3194rem;
    margin-right: 0.0417rem;
}

#main .earlyPaperContent .left img {
    width: 3.7222rem;
    height: 5.3194rem;
}

#main .earlyPaperContent .right {
    width: 3.7361rem;
    height: 5.2778rem;
}

#main .earlyPaperContent .right img:nth-of-type(1) {
    width: 3.7361rem;
    height: 2.6389rem;
    margin-bottom: 0.0417rem;
}

#main .earlyPaperContent .right img:nth-of-type(2) {
    width: 3.7361rem;
    height: 2.6389rem;
}

/* 小米众筹 */
#main .crowdFunding {
    width: 6.8056rem;
    height: 0.8333rem;
    display: flex;
    line-height: 0.8333rem;
    padding-left: 0.3472rem;
    padding-right: 0.3472rem;
    justify-content: space-between;
}

#main .crowdFunding h1 {
    font-size: 0.3194rem;
    color: #5b5b5b;
}

#main .crowdFunding a {
    font-size: 0.2083rem;
    color: #b8b8b8;
    background: url(../img/20.jpg) no-repeat 0.6389rem center/0.1389rem 0.2222rem;
}

/* 吸尘器 */
#main .dustCatcher {
    width: 6.9097rem;
    margin-left: 0.2986rem;
}

#main .dustCatcher img {
    width: 6.9097rem;
    height: 3.4583rem;
}

#main .dustCatcher p {
    height: 0.6667rem;
    line-height: 0.6667rem;
    font-size: 0.25rem;
}

#main .dustCatcher div:nth-of-type(1) {
    width: 6.9097rem;
    height: 0.0556rem;
    background: #ff9f00;
    border-radius: 0.0556rem;
    margin-bottom: 0.125rem;
}

#main .dustCatcher div:nth-of-type(2) {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3819rem;
}

#main .dustCatcher div:nth-of-type(2) span:nth-of-type(1) {
    font-size: 0.1667rem;
    color: #bebebe;
}

#main .dustCatcher div:nth-of-type(2) span:nth-of-type(2) {
    font-size: 0.1667rem;
    color: #ff6700;
}

/* 页脚导航 */
#footer {
    height: 1.1rem;
    width: 7.5rem;
    box-shadow: 0rem -0.03rem 0.03rem rgb(238, 236, 236);
}

#footer ul {
    height: 1.1rem;
    width: 7.5rem;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

#footer ul li {
    width: 20%;
    height: 0.92rem;
    display: flex;
    flex-direction: column;
    padding-top: 0.18rem;
}

#footer ul li span {
    font-size: 0.42rem;
    color: #5f5f5f;
}

#footer ul li div {
    margin-top: 0.15rem;
    font-size: 0.18rem;
}

#footer ul li:nth-child(1) span,
#footer ul li:nth-child(1) div {
    color: #f86610;
}